package com.flyinzhen.customer.dto.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "ContactsSaveInput", description = "联系人信息保存输入类")
public class ContactsSaveInput implements Serializable {

	private static final long serialVersionUID = 1L;

    @NotBlank
    @ApiModelProperty(value = "客户号", required = true)
    private String userId;

    @NotEmpty
    @ApiModelProperty(value = "客户联系人列表", required = true)
    private List<ContactSaveInput> contactSaveInputList;
}
